﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Doan.Website.Models
{
    public class DocumentMeta
    {
        [Required]
        public int TypeId { get; set; }

        [Required]
        [StringLength(255, ErrorMessage = "Tên phải có tối thiểu 6 ký tự", MinimumLength = 6)]
        public string Name { get; set; }

        [DataType(DataType.MultilineText)]
        public string Info { get; set; }
    }
}
